﻿using Domain.Base;
using DtoFw.Enum;
using SqlSugar;

namespace Domain.Entity
{
    ///<summary>
    ///用户角色
    ///</summary>
    [SugarTable("system_user_map_role")]
    [DB(EnumDatabase.Mysql, Cache = false)]
   public class MainUserMapRoleEntity: BaseEntity
    {
        [SugarColumn(ColumnName = "RoleId")]
        public long RoleId { get; set; } = 0;
        [SugarColumn(ColumnName = "UserId")]
        public long UserId { get; set; } = 0;
    }
}
